package com.ys.nms.module.business.controller.admin.otheroid.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 补充其它OID新增/修改 Request VO")
@Data
public class OtherOidSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "29324")
    private Long id;

    @Schema(description = "中文名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "中文名称不能为空")
    private String name;

    @Schema(description = "英文名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "英文名称不能为空")
    private String field;

    @Schema(description = "OID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8848")
    @NotEmpty(message = "OID不能为空")
    private String oid;

    @Schema(description = "设备", requiredMode = Schema.RequiredMode.REQUIRED, example = "24049")
    @NotNull(message = "设备不能为空")
    private Integer deviceId;

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "类型不能为空")
    private String addType;

}